<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>学生表单</title>
		<style>
		body{
			font-size: 18px;
			font-weight: 500;
			font-family: "微软雅黑";
		}
		.a{
			border: blue 1px;
			background-color: blue;
			color: white;
			height: 30px;
			width: 50px;
		}
		</style>
	</head>
	<body>
		<form action="http://localhost:8090/stu/add" method="get" >
		<table b cellspacing="" cellpadding="" style="margin: auto;">
			<tr><th><h2>学生信息管理系统MIS</h2></th></tr>
			<tr><td>姓名:<br>
			<input type="text" name="name"   placeholder="请输入姓名" style="width: 280px;height: 25px;"/></td></tr>
			<tr><td>年龄:<br>
			<input type="number" name="age"  placeholder="请输入年龄" style="width: 280px;height: 25px;"></td></tr>
			<tr><td>性别(单选框)
			<input type="radio" name="gender" value="1" checked="checked" style="margin-left: 30px;">男
			<input type="radio" name="gender" value="0">女
			</td></tr>
			<tr><td>爱好(多选)
			<input type="checkbox" name="hobby" value="1" checked="checked">乒乓球
			<input type="checkbox" name="hobby" value="2">爬山
			<input type="checkbox" name="hobby" value="3">唱歌
			</td></tr>
			<tr><td>学历:(下拉框)<br>
			<select name="degree" style="height: 25px;width: 280px;">
				<option value="1">本科</option>
				<option value="2">大专</option>
				<option value="3">研究生</option>
				<option value="4">小学</option>
				<option value="5">胎教</option>
			</select>
			</td></tr>
			<tr><td>入学日期:<br>
			<input type="date" name="date" style="height: 25px; width: 280px;">
			</td></tr>
			<tr><td>
			<input type="submit" name="submit" value="提交" class="a" style="margin-left:70px;"/>
			<input type="button" name="cancle" value="取消" class="a" style="margin-left:10px; 
			border: palevioletred 1px;
			background-color: palevioletred;" />
			</td></tr>
		</table>	
		</form>
	</body>
</html>

